<?php get_header(); ?>

     <div id="page">



          <div id="content">

	<?php if (have_posts()) : ?>

		<h1 class="pagetitle">Search Results</h1>
		


		<?php while (have_posts()) : the_post(); ?>
				
			<div class="archivepost" id="post-<?php the_ID(); ?>">
                               
					<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>

					<p class="postinfo">By <?php the_author() ?> | <?php the_time('F j, Y') ?> | <?php the_category(', ') ?> | <a href="<?php comments_link(); ?>"><?php comments_number('no comments yet','1 comment','% comments'); ?></a></p>
				

				</div>
	
		<?php endwhile; ?>

		<div class="navigation">
			<div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
			<div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
		</div>
	
	<?php else : ?>

		<h2 class="center">No posts found. Try a different search?</h2>
		<?php include (TEMPLATEPATH . '/searchform.php'); ?>

	<?php endif; ?>
		

           </div>

<?php get_sidebar(); ?>

     </div>


<?php get_footer(); ?>
          